{template "mheader.html"}

<div class="right-main-product">

    <div class="row all-grid-product" style="margin-right:0">

        <!-- single-product-item start -->

        {module module=goods uid=$uid page=1 pagesize=16 urlrule=$urlrule return=r}
        <div class="col-xs-12 col-sm-6 col-md-4 col-lg-3">

            <div class="single-product-item">
                <div class="product-image">
                    <div class="sale-stiker product-sticker">
                        <img src="{HOME_THEME_PATH}img/product/sale1.png" alt="店铺推荐">
                    </div>
                    <a href="{$r.url}" target="_blank"><img src="{dr_thumb($r[thumb][0][file], 200, 160)}" alt="{$r.title}" /></a>
                    <div class="single-product-overlay">
                        <div class="rating-box">
                            {dr_mall_star_level($r.comments)}
                        </div>
                        <div class="product-quick-view">
                            <ul>
                                <li><a href="javascript:dr_module_favorite('goods', '{$r.id}');"><i class="fa fa-heart-o"></i></a></li>
                                <li><a href="{$r.url}"><i class="fa fa-eye"></i></a></li>
                            </ul>
                        </div>
                    </div>
                </div>
                <div class="single-product-text">
                    <h2><a class="product-title" href="{$r.url}" target="_blank">{dr_strcut($r.title, 22)}</a></h2>
                    <div class="product-price">
                        <span class="regular-price">￥{number_format($r.price, 2)}</span>
                    </div>
                    <div class="pro-add-to-cart">
                        <p><a href="javascript:dr_select_cart('goods', 'price', '{$r.id}');" title="添加购物车">添加购物车</a></p>
                    </div>
                </div>
            </div>

        </div>
        {/module}


    </div>
</div>

<div class="mall-page">
    <ul class="pagination">
        {$pages_r}
    </ul>
</div>


{template "mfooter.html"}